.class public abstract Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;
.super Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

# interfaces
.implements Ljava/util/Observer;


# instance fields
.field private A:Z

.field private B:Landroid/view/View$OnClickListener;

.field public a:Z

.field private b:Landroid/content/Context;

.field private c:Landroid/app/Activity;

.field private d:Landroid/widget/ImageView;

.field private e:Landroid/widget/RelativeLayout;

.field private f:Landroid/widget/TextView;

.field private g:Landroid/widget/TextView;

.field private h:Z

.field private i:Lcom/waiqin365/compons/view/c;

.field private s:Lcom/waiqin365/lightapp/view/bi;

.field private t:Lcom/waiqin365/lightapp/view/bj;

.field private u:Ljava/lang/String;

.field private v:Landroid/view/View;

.field private w:Landroid/view/View;

.field private x:Ljava/util/ArrayList;

.field private y:Ljava/util/List;

.field private z:Lcom/waiqin365/base/db/offlinedata/q;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->h:Z

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->u:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->x:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->y:Ljava/util/List;

    sget-object v0, Lcom/waiqin365/base/db/offlinedata/q;->b:Lcom/waiqin365/base/db/offlinedata/q;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->z:Lcom/waiqin365/base/db/offlinedata/q;

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->A:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->a:Z

    new-instance v0, Lcom/waiqin365/lightapp/view/bg;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/bg;-><init>(Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->B:Landroid/view/View$OnClickListener;

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->a(Landroid/content/Context;)V

    return-void
.end method

.method private a(Landroid/content/Context;)V
    .locals 3

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->b:Landroid/content/Context;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->b:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->c:Landroid/app/Activity;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->b:Landroid/content/Context;

    const v1, 0x7f03011f

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->addView(Landroid/view/View;)V

    const v0, 0x7f0c0055

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->d:Landroid/widget/ImageView;

    const v0, 0x7f0c0057

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->e:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c0058

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->f:Landroid/widget/TextView;

    const v0, 0x7f0c0056

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->g:Landroid/widget/TextView;

    const v0, 0x7f0c005a

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->v:Landroid/view/View;

    const v0, 0x7f0c0059

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->w:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->B:Landroid/view/View$OnClickListener;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->a(Ljava/lang/String;)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 6

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->i:Lcom/waiqin365/compons/view/c;

    new-instance v0, Lcom/waiqin365/compons/view/c;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->getContext()Landroid/content/Context;

    move-result-object v1

    const-string/jumbo v2, ""

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/view/bh;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/view/bh;-><init>(Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;)V

    move-object v3, p1

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->i:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->i:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    return-void
.end method

.method private a(Ljava/util/List;)V
    .locals 5

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->f:Landroid/widget/TextView;

    if-eqz v0, :cond_2

    if-eqz p1, :cond_2

    const-string/jumbo v0, ""

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->x:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->y:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->clear()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->y:Ljava/util/List;

    invoke-interface {v1, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    move-object v1, v0

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/m;

    iget-object v3, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->x:Ljava/util/ArrayList;

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/share/a/m;->b:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/m;->c:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    move-object v1, v0

    goto :goto_0

    :cond_0
    const-string/jumbo v0, ","

    invoke-virtual {v1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-virtual {v1, v0, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->f:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->s:Lcom/waiqin365/lightapp/view/bi;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->s:Lcom/waiqin365/lightapp/view/bi;

    invoke-interface {v0}, Lcom/waiqin365/lightapp/view/bi;->a()V

    :cond_2
    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->h:Z

    return v0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->u:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;)Lcom/waiqin365/lightapp/view/bj;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->t:Lcom/waiqin365/lightapp/view/bj;

    return-object v0
.end method


# virtual methods
.method public c()Ljava/lang/CharSequence;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->g:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    return-object v0
.end method

.method public abstract e()I
.end method

.method public f()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->y:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->x:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->f:Landroid/widget/TextView;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public g()V
    .locals 5

    const v4, 0x7f08072f

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    const-string/jumbo v0, ""

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->x:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    move-object v1, v0

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    move-object v1, v0

    goto :goto_0

    :cond_0
    const-string/jumbo v0, ","

    invoke-virtual {v1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-virtual {v1, v0, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    :cond_1
    new-instance v2, Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->b:Landroid/content/Context;

    const-class v3, Lcom/waiqin365/lightwork/directory/DirectoryDepartmentSelectMultiModeActivity;

    invoke-direct {v2, v0, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    new-instance v3, Lcom/waiqin365/lightwork/directory/b/v;

    invoke-direct {v3}, Lcom/waiqin365/lightwork/directory/b/v;-><init>()V

    iput-object v1, v3, Lcom/waiqin365/lightwork/directory/b/v;->e:Ljava/lang/String;

    const/4 v0, 0x1

    iput-boolean v0, v3, Lcom/waiqin365/lightwork/directory/b/v;->i:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->b:Landroid/content/Context;

    invoke-virtual {v0, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v3, Lcom/waiqin365/lightwork/directory/b/v;->f:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->b:Landroid/content/Context;

    invoke-virtual {v0, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v3, Lcom/waiqin365/lightwork/directory/b/v;->g:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->n:Ljava/lang/String;

    iput-object v0, v3, Lcom/waiqin365/lightwork/directory/b/v;->d:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->e()I

    move-result v0

    iput v0, v3, Lcom/waiqin365/lightwork/directory/b/v;->m:I

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->a:Z

    iput-boolean v0, v3, Lcom/waiqin365/lightwork/directory/b/v;->k:Z

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->A:Z

    if-eqz v0, :cond_2

    sget-object v0, Lcom/waiqin365/base/db/offlinedata/q;->b:Lcom/waiqin365/base/db/offlinedata/q;

    :goto_1
    iput-object v0, v3, Lcom/waiqin365/lightwork/directory/b/v;->c:Lcom/waiqin365/base/db/offlinedata/q;

    const-string/jumbo v0, "param"

    invoke-virtual {v2, v0, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->c:Landroid/app/Activity;

    invoke-virtual {v0, v2}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    return-void

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->z:Lcom/waiqin365/base/db/offlinedata/q;

    goto :goto_1
.end method

.method public h()Ljava/lang/String;
    .locals 4

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->x:Ljava/util/ArrayList;

    if-nez v0, :cond_1

    const-string/jumbo v0, ""

    :cond_0
    :goto_0
    return-object v0

    :cond_1
    const-string/jumbo v0, ""

    move v1, v2

    :goto_1
    iget-object v3, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->x:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    if-ge v1, v3, :cond_2

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->x:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v3, ","

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    move-object v0, v3

    goto :goto_1

    :cond_2
    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-virtual {v0, v2, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public i()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->f:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public n()V
    .locals 0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->f()V

    return-void
.end method

.method public o()Ljava/lang/String;
    .locals 4

    const-string/jumbo v0, ""

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->y:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    move-object v1, v0

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/m;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/m;->b:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    move-object v1, v0

    goto :goto_0

    :cond_0
    const-string/jumbo v0, ","

    invoke-virtual {v1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-virtual {v1, v0, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    :cond_1
    return-object v1
.end method

.method protected onDetachedFromWindow()V
    .locals 1

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    invoke-super {p0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->onDetachedFromWindow()V

    return-void
.end method

.method public p()Ljava/lang/String;
    .locals 4

    const-string/jumbo v0, ""

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->y:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    move-object v1, v0

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/m;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/m;->c:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    move-object v1, v0

    goto :goto_0

    :cond_0
    const-string/jumbo v0, ","

    invoke-virtual {v1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-virtual {v1, v0, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    :cond_1
    return-object v1
.end method

.method public setAclType(Lcom/waiqin365/base/db/offlinedata/q;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->z:Lcom/waiqin365/base/db/offlinedata/q;

    return-void
.end method

.method public setBottomLineStatus(Z)V
    .locals 2

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->v:Landroid/view/View;

    if-eqz p1, :cond_0

    const/4 v0, 0x0

    :goto_0
    invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

    return-void

    :cond_0
    const/16 v0, 0x8

    goto :goto_0
.end method

.method public setCanViewAll(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->A:Z

    return-void
.end method

.method public setContent(Ljava/lang/CharSequence;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->f:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public setEdit(Z)V
    .locals 2

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->h:Z

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->h:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->w:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->w:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method public setEnabled(Z)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setEnabled(Z)V

    if-nez p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->w:Landroid/view/View;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->w:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method public setHint(Ljava/lang/CharSequence;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->f:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setHint(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public setIsCheckNode(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->a:Z

    return-void
.end method

.method public setLabel(Ljava/lang/CharSequence;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->g:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public setLableEnable(Z)V
    .locals 2

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->g:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->g:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0
.end method

.method public setMustinput(Ljava/lang/String;)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setMustinput(Ljava/lang/String;)V

    const-string/jumbo v0, "1"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->h:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->d:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method public setOnDeptSelectListener(Lcom/waiqin365/lightapp/view/bi;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->s:Lcom/waiqin365/lightapp/view/bi;

    return-void
.end method

.method public setOnSelectClickDialog(Ljava/lang/String;Lcom/waiqin365/lightapp/view/bj;)V
    .locals 0

    iput-object p2, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->t:Lcom/waiqin365/lightapp/view/bj;

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->u:Ljava/lang/String;

    return-void
.end method

.method public setSelectIds(Ljava/lang/String;)V
    .locals 2

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    const/16 v0, 0x2c

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->x:Ljava/util/ArrayList;

    invoke-static {p1, v0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;CLjava/util/ArrayList;)V

    :goto_0
    return-void

    :cond_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->x:Ljava/util/ArrayList;

    goto :goto_0
.end method

.method public setSelectedDepts(Ljava/util/List;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->a(Ljava/util/List;)V

    return-void
.end method

.method public update(Ljava/util/Observable;Ljava/lang/Object;)V
    .locals 2

    if-eqz p2, :cond_0

    instance-of v0, p2, Lcom/waiqin365/lightapp/view/a/a;

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->n:Ljava/lang/String;

    move-object v0, p2

    check-cast v0, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/a/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    move-object v0, p2

    check-cast v0, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    instance-of v0, v0, Ljava/util/HashMap;

    if-eqz v0, :cond_0

    check-cast p2, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, p2, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    check-cast v0, Ljava/util/HashMap;

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v1

    invoke-virtual {v1, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    const-string/jumbo v1, "selectDepList"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/view/BaseDepartmentSelectView_vertical;->a(Ljava/util/List;)V

    :cond_0
    return-void
.end method
